<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>
        添加员工
    </title>
    <style>
        body{background-image: url("../images/djbjt.jpg")}
        .zhuyuan{
            /*border: 1px red solid;*/
            padding-left: 400px;
        }
        #topTitle{
            font-size: 20px;
            line-height: 50px;
            text-align: center;
        }
        label{line-height: 30px}
    </style>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../css/x-admin.css" media="all">
    <link rel="stylesheet" href="../css/pag.css" media="all">
</head>
<body>
<div class="x-nav">
            <span class="layui-breadcrumb">
              <a><cite>首页</cite></a>
              <a><cite>员工列表</cite></a>
              <a><cite>添加员工</cite></a>
            </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"
       href="javascript:location.replace(location.href);" title="刷新"><i class="layui-icon"
                                                                        style="line-height:30px">ဂ</i></a>
</div>
<div class="doRecord">
    <div class="topTitle">
        <strong>添加员工</strong>
    </div>
        <div class="x-body">
            <div class="zhuyuan">
                <form id="doctorFrom" name="doctorFrom" method="post"
                      action="${pageContext.request.contextPath }/webapp/addDoctor">
                    <%--<input type="hidden" name="method" value="add"/>--%>
                    <div>
                        <label for="docname">姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名：&nbsp;</label>
                        <input type="text" name="docname" id="docname" value="">
                        <font color="red"></font>
                    </div>
                    <div>
                    <label for="doclogin">登&nbsp;录&nbsp;名：&nbsp;</label>
                    <input type="text" name="doclogin" id="doclogin" value="">
                    <font color="red"></font>
                </div>
                    <div>
                        <label for="docpassword">登录密码：</label>
                        <input type="text" name="docpassword" id="docpassword" value="">
                        <font color="red"></font>
                    </div>
                   <div>
                        <label >性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别：</label>
                        <select name="docsex" id="docsex"style="width: 172px">
                            <option value="1" selected="selected">女</option>
                            <option value="2">男</option>
                        </select>
                    </div>
                    <div>
                        <label for="docage">年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;龄：</label>
                        <input type="text" name="docage" id="docage" value="">
                    </div>
                         <div>
                            <label>所属部门：</label>
                            <select name="department"style="width: 172px">
                                <option value="0">--请选择--</option>
                                <c:forEach items="${keshiList}" var="keshi" varStatus="row">
                                    <option value="${keshi.kid}" <c:if test="${queryDoctorjobTitle eq keshi.kid}">selected</c:if>>
                                            ${keshi.kname}
                                    </option>
                                </c:forEach>
                            </select>
                        </div>
                        <div>
                            <label>职&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;位：&nbsp;</label>
                            <select name="jobtitle"style="width: 172px">
                                <option value="0">--请选择--</option>
                                <c:forEach items="${roleList}" var="role" varStatus="row">
                                    <option value="${role.rid}" <c:if test="${queryDoctorjobTitle eq role.rid}">selected</c:if>>
                                            ${role.rname}
                                    </option>
                                </c:forEach>
                            </select>
                        </div>
                         <div>
                             <label for="phone">手&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;机：&nbsp;</label>
                             <input type="text" name="phone" id="phone" value="">
                             <font color="red"></font>
                         </div>
                         <div>
                             <label for="landline">科室电话：</label>
                             <input type="text" name="landline" id="landline" value="">
                             <font color="red"></font>
                         </div>
                         <div>
                             <label for="introduce">医师介绍：</label>
                             <textarea type="" name="introduce" id="introduce"  value="医师介绍" style="width:172px; height:100px" ></textarea>
                         </div>
                         <div>
                             <label >状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：&nbsp;</label>
                             <select name="state" id="state"style="width: 172px">
                                 <option value="1" selected="selected">在职</option>
                                 <option value="2">离职</option>
                             </select>
                         </div>
                   <%--        <div>
                               <label for="entrytime">入职日期：</label>
                               <input type="text" Class="Wdate" id="entrytime" name="entryDate"
                                      readonly="readonly" onclick="WdatePicker();">
                               <font color="red"></font>
                           </div>--%>
                    <div class="providerAddBtn" style="margin-bottom:50px;margin-left: 120px">
                        <input type="submit" id="add" value="提交" >
                        <%--<button type="submit">提交</button>--%>
                        <a href="/webapp/yuangong" style="color: #fff"><input type="button" id="back" value="返回" ></a>
                    </div>
                </form>
            </div>
        </div>
</div>
<script src="../lib/layui/layui.js" charset="utf-8"></script>
<script src="../js/x-layui.js" charset="utf-8"></script>
<script src="../js/jquery2.js" charset="utf-8"></script>
<script src="../js/js.js" charset="utf-8"></script>
<script src="../js/calendar/WdatePicker.js"></script>
<script src="../js/zygl/zydj.js"></script>
<script>
/*    layui.use(['laydate', 'element', 'laypage', 'layer'], function () {
        $ = layui.jquery;//jquery
        lement = layui.element();//面包导航
        laypage = layui.laypage;//分页
        layer = layui.layer;//弹出层
    });
    function tianjiayizhu(title,url,id,w,h){
        x_admin_show(title,url,w,h);
    }*/
</script>
</body>
</html>